    {foreach $list as $item}
        <div style="padding: 5px; border: 1px solid black">
        <i>{$item.date}</i>.
        <b>{$item.title}</b><br/>
        <p>{$item.text}</p>
        <a href="{$webPrefix}{$YzAdmin}news/edit/{$item.id}/">Edit</a>
        </div>
    {/foreach}
        <p>
    {if 1 == 1}
        <a href="{$webPrefix}users/logout">Log out?</a>
    {else}
        <a href="{$webPrefix}users/login">Log in?</a>
    {/if}
        </p>
